home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_html2ps.idb / usr / freeware / lib / html2ps / sample.z / sample
Encoding:
Text File  |  1999-01-26  |  1.2 KB  |  37 lines

  1. /* This is a sample configuration file for html2ps. You may try using this
  2.    to convert the documentation file that comes with html2ps (html2ps.html).
  3.    Issue the command:
  4.  
  5.      html2ps -f sample -o html2ps.ps html2ps.html
  6.  
  7.    This should create a PostScript file html2ps.ps formatted based on the
  8.    information below.
  9. */
  10.  
  11. @html2ps {
  12.   header {              /* Running page header */
  13.     odd-left: $T;         /* Document title */
  14.     odd-right: $H;        /* Current main heading */
  15.     even-left: $H;        /* Ditto */
  16.     even-right: $A;       /* Document author (from <META NAME="Author"...>) */
  17.   }
  18.   footer {              /* Running page footer */
  19.     center: "- $N -";     /* Page number */
  20.   }
  21.   option {
  22.     toc: h;               /* Generate a table of contents, based on headings */
  23.   }
  24.   showurl: 1;             /* Show URL:s for external links */
  25.   seq-number: 1;          /* Automatic numbering of headings */
  26. }
  27.  
  28. /* Standard style sheet definitions */
  29. P { text-align: justify }
  30. H1, H2, H3, H4, H5, H6 { font-family: Helvetica; font-weight: bold }
  31. H1 { font-size: 19pt; text-align: center }
  32. H3, H5 { font-style: oblique }
  33. H2, H3 { font-size: 16pt }
  34. H4, H5 { font-size: 13pt }
  35. H6 { font-size: 11pt }
  36. ADDRESS { text-align: right }
  37.